//
// Created by wsl on 2023/11/19.
//

#ifndef __BSP_DMA_H
#define __BSP_DMA_H


#include "stm32f10x.h"

void MyDMA_Init(DMA_Channel_TypeDef* DMAy_Channelx, const uint8_t *addrA, const uint8_t *addrB);
void MyDma_SetTrsCounter(DMA_Channel_TypeDef* DMAy_Channelx, uint32_t num);
FlagStatus MyDma_GetTrsFlag(uint32_t DMAy_FLAG);



#endif //__BSP_DMA_H
